CC = gcc
CFLAGS = -Wall
LIBS = -lpthread -lm -lrt

all: client server

client: client.c
	$(CC) $(CFLAGS) -o client client.c $(LIBS)

server: server.c
	$(CC) $(CFLAGS) -o server server.c $(LIBS)

clean:
	rm -f client server /tmp/client_server_pipe data.txt
